#include <QtQml>
#include "Standard.h"
#include "Path/AppPath.h"

static QJSValue pathProvider(QQmlEngine* engine , QJSEngine *scriptEngine) {
    Q_UNUSED(engine);
    AppPath* obj = new AppPath();
    QJSValue value = scriptEngine->newQObject(obj);
    return value;
}


namespace MyNamespace {
  Q_NAMESPACE
  enum MyEnum {
      Key1,
      Key2,
  };
  Q_ENUMS(MyEnum)
}



static void regiserQmlTypes() {
    //qmlRegisterUncreatableMetaObject(MyNamespace::staticMetaObject, "Quick.Enum", 1, 0, "MyEnum", "Access to enums & flags only");

}

Q_COREAPP_STARTUP_FUNCTION(regiserQmlTypes)
